home *** CD-ROM | disk | FTP | other *** search
- global TheItem
-
- on startMovie
- set the menuForecolor of member "Club Analysis" to 255
- set the menuForecolor of member "Premier History" to 255
- set the menuForecolor of member "League Computer" to 255
- set the menuForecolor of member "Quit" to 255
-
- set the menuBackcolor of member "Club Analysis" to 0
- set the menuBackcolor of member "Premier History" to 0
- set the menuBackcolor of member "League Computer" to 0
- set the menuBackcolor of member "Quit" to 0
-
- disableClubAnalysis
- disablePremierHistory
- disableLeagueComputer
- disableQuit
- end
-
- on disableClubAnalysis
- set MenuCount = [1,2,3,4]
- set ItemCount = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]
- set TheItem = []
-
- repeat with x = 2 to 20
- put string((getAt(MenuCount,1))) & ";" & string((getAt(ItemCount,x))) into TheItem
- disableItem (member "Club Analysis", TheItem)
- end repeat
-
- repeat with x = 2 to 20
- put string((getAt(MenuCount,2))) & ";" & string((getAt(ItemCount,x))) into TheItem
- disableItem (member "Club Analysis", TheItem)
- end repeat
-
- repeat with x = 2 to 20
- put string((getAt(MenuCount,3))) & ";" & string((getAt(ItemCount,x))) into TheItem
- disableItem (member "Club Analysis", TheItem)
- end repeat
-
- repeat with x = 2 to 20
- put string((getAt(MenuCount,4))) & ";" & string((getAt(ItemCount,x))) into TheItem
- disableItem (member "Club Analysis", TheItem)
- end repeat
- end
-
- on disablePremierHistory
- set TheItem = []
-
- repeat with x = 1 to 25
- put string(1) & ";" & string(x) into TheItem
- disableItem (member "Premier History", TheItem)
- end repeat
-
- repeat with x = 1 to 31
- put string(2) & ";" & string(x) into TheItem
- disableItem (member "Premier History", TheItem)
- end repeat
-
- -- repeat with x = 2 to 20
- -- put string(3) & ";" & string(x) into TheItem
- -- disableItem (member "Premier History", TheItem)
- -- end repeat
-
- end
-
- on disableLeagueComputer
- set TheItem = []
-
- repeat with x = 1 to 20
- put string(2) & ";" & string(x) into TheItem
- disableItem (member "League Computer", TheItem)
- end repeat
-
- repeat with x = 1 to 1
- put string(3) into TheItem
- disableItem (member "League Computer", TheItem)
- end repeat
- end
-
- on disableQuit
- set TheItem = []
-
- repeat with x = 2 to 3
- put string(x) into TheItem
- disableItem (member "Quit", TheItem)
- end repeat
- end
-
-
- on CheckClubAnalysisMenu
- if the selectedSpec of member "Club Analysis" = "1;1" then
- go to movie "afc_his"
- else if the selectedSpec of member "Club Analysis" = "2;1" then
- go to movie "afc_ps"
- else if the selectedSpec of member "Club Analysis" = "3;1" then
- go to movie "afc_sq"
- else if the selectedSpec of member "Club Analysis" = "4;1" then
- go to movie "afc_sta"
- else
- nothing
- end if
- end
-
- on CheckPremierHistoryMenu
- if the selectedSpec of member "Premier History" = "3;1" then
- go to movie "afc_deta"
- else
- nothing
- end if
- end
-
- on CheckLeagueComputerMenu
- -- alert the selectedSpec of member "League Computer"
- if the selectedSpec of member "League Computer" = "1" then
- go to movie "wbw"
- else if the selectedSpec of member "League Computer" = "2;1" then
- go to movie "afc_cbc"
- else
- nothing
- end if
- end
-
- on CheckQuitMenu
- if the selectedSpec of member "quit" = "1" then
- go to movie "start"
- else if the selectedSpec of member "quit" = "2" then
- alert " Actual Football 1997/98 AboutBox"
- else if the selectedSpec of member "quit" = "3" then
- alert "This will allow the user to correct system date..."
- else if the selectedSpec of member "quit" = "4" then
- UNLOAD
- QUIT
- else
- nothing
- end if
- end
-
-
-
-
-